package jtk.project4.fleet.field;

import java.util.Date;
import nl.coderight.jazz.form.FormLayout;
import nl.coderight.jazz.form.field.button.CheckButton;
import nl.coderight.jazz.form.control.GroupControl;
import jtk.project4.fleet.domain.Equipment;

public class MaintenanceHighlightingField extends GroupControl<Equipment> {
	private CheckButton check1;
	private CheckButton check2;
	private CheckButton check3;
	
	public MaintenanceHighlightingField(String bindID){
		setTitle("Maintenance Highlighting");
		setBindID(bindID);
		createFields();
		createLayout();
	}
	
	private void createFields() {
		// TODO Auto-generated method stub		
		check1 = new CheckButton("Reqiured Maintenance");
		check2 = new CheckButton("Maintenance Soon");
		check3 = new CheckButton("Work Order Assigned");
	}
	
	private void createLayout() {
		// TODO Auto-generated method stub
		setLayout(new FormLayout())
		.addField(check1)					.addField(check2)
		.addRow()
		.addField(check3)
		;
	}
}